import request from '@/utils/request'
/* 服务列表 */
export function dmServicePage(param) {
    return request({
        url: '/sjccDataService/page',
        method: 'get',
        params: param,
    })
}
/* 服务详情 */
export function dmServiceDetail(param) {
    return request({
        url: '/sjccDataService/getDetail',
        method: 'get',
        params: param,
    })
}
/* 服务撤回 */
export function dmServiceOperationApp(param) {
    return request({
        url: '/sjccDataService/operationApp',
        method: 'get',
        params: param,
    })
}
/* 服务查询基础信息 */
export function dmServiceGetById(param) {
    return request({
        url: '/sjccDataService/getById',
        method: 'get',
        params: param,
    })
}
/* 服务发布 */
export function dmServicePublish(data) {
    return request({
        url: '/sjccDataService/publish',
        method: 'put',
        data,
    })
}
/* 服务编辑 */
export function dmServiceEdit(data) {
    return request({
        url: '/sjccDataService/edit',
        method: 'put',
        data,
    })
}
/* 服务新增 */
export function dmServiceAdd(data) {
    return request({
        url: '/sjccDataService/add',
        method: 'post',
        data,
    })
}
/* 服务测试 */
export function dmServiceTestCall(data) {
    return request({
        url: '/sjccDataService/testCall',
        method: 'post',
        data,
    })
}
/* 服务删除 */
export function dmServiceDelete(data) {
    return request({
        url: '/sjccDataService/delete',
        method: 'delete',
        data,
    })
}